package net.hn.hnms.biz.support.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.support.domain.SupportNowPo;
import net.hn.hnms.biz.support.group.domain.MineNowAlarmVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HolderNowMapper extends BaseMapper<SupportNowPo> {

    /**
     * 查询当天最大数值的记录
     * @return
     */

    SupportNowPo selectSupportNowPoOne(@Param("typeName") String typeName,@Param("mineCode") String mineCode);

    List<SupportNowPo> selectNowList(@Param("str")String str,@Param("mineCode") String mineCode);

    /**
     * 获取公司端煤矿支架实时报警数
     * @param mineCode
     * @param companyCode
     * @return
     */
    List<MineNowAlarmVo> selectNowNowAlarmCount(@Param("mineCode") String mineCode, @Param("companyCode") String companyCode);
}
